package io.unicorn.modules.water.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * ${comments}
 * 
 * @author LNCG
 * @email LNCG@USTL.EDU.CN
 * @date 2022-01-20 20:04:07
 */
@Data
@TableName("T_Pro_data_analyse")
public class ProDataAnalyseEntity implements Serializable {
	private static final long serialVersionUID = 1L;


	@TableId
	private String clientId;
	private String clientName;
	private String clientAddress;
	private String deviceId;
	private String deviceAddress;
	private String deviceTypeName;
	private BigDecimal useData;
	private BigDecimal beforeData;
	private Date beforeDate;
	private String beforeStatus;
	private BigDecimal afterData;
	private Date afterDate;
	private String afterStatus;
	private String proName;
	private String plateno;
	private String stampno;

	public static Map<String, String> getHeadName(){
		Map<String, String> headMap = new LinkedHashMap<String, String>();

		headMap.put("proName","小区名称");
		headMap.put("clientId","表卡编号");
		headMap.put("clientName","客户名字");
		headMap.put("clientAddress","客户地址");
		headMap.put("deviceId","设备号");
		headMap.put("deviceAddress","设备地址");
		headMap.put("deviceTypeName","类型");
		headMap.put("useData","用量");
		headMap.put("beforeData","之前用量");
		headMap.put("beforeDate","之前日期");
		headMap.put("beforeStatus","之前状态");
		headMap.put("afterData","之后用量");
		headMap.put("afterDate","之后日期");
		headMap.put("afterStatus","之后状态");
		headMap.put("plateno","表盘号");
		headMap.put("stampno","表封号");

		return headMap;
	};

}
